//#define __DEBUG__
// by Xeno
#define THIS_FILE "fn_tkr.sqf"
#include "x_setup.sqf"

PARAMS_2(_unit,_killer);
_par = GVAR(player_store) getVariable (getPlayerUID _unit);
__TRACE_1("_unit",_par);
_namep = if (isNil "_par") then {"Unknown"} else {_par select 6};
_par = GVAR(player_store) getVariable (getPlayerUID _killer);
__TRACE_1("_killer",_par);
_namek = if (isNil "_par") then {"Unknown"} else {_par select 6};
[_namek, _namep, _killer] call FUNC(TKKickCheck);
[QGVAR(unit_tk2), [_namep,_namek]] call FUNC(NetCallEventToClients);